package restdoc.remoting;

import restdoc.remoting.protocol.RemotingCommand;

/**
 *
 */
public interface RPCHook {

    void doBeforeRequest(final String remoteAddr, final RemotingCommand request);

    void doAfterResponse(final String remoteAddr, final RemotingCommand request,
                         final RemotingCommand response);
}